const SettingModel = require("./models/SettingModel");

// 获取数据
exports.getSettingDao = async () => {
    return SettingModel.findAll();
}

// 修改数据
exports.updateSettingDao = async (newSetting) => {
    return SettingModel.update(newSetting, {
        where: {

        }
    });
}